package com.academic_system.model;

import java.io.Serializable;
import java.util.Date;

public class StuProject implements Serializable {
	private int projectId;
	private String stuNum;
	private String stuName;
	private int stuSex;
	private String stuSexName;
	private String academyName;
	private String stuGrade;
	private String termNum;
	private String projectName;
	private String projectContent;
	private String projectStartDate;
	private String projectEndtDate;
	private String projectContactPeople;
	private String projectPhonenum;
	private String projectPlatform;
	private int projectState;
	public int getprojectId() {
		return projectId;
	}
	public void setprojectId(int projectId) {
		this.projectId = projectId;
	}
	public String getstuNum() {
		return stuNum;
	}
	public void setstuNum(String stuNum) {
		this.stuNum = stuNum;
	}
	public String getstuName() {
		return stuName;
	}
	public void setstuName(String stuName) {
		this.stuName = stuName;
	}
	public int getstuSex() {
		return stuSex;
	}
	public void setstuSex(int stuSex) {
		this.stuSex = stuSex;
	}
	public String getstuSexName() {
		if(this.getstuSex()==1) {
			return "女";
		}else if (this.getstuSex()==2){
			return "男";
		}
		return "";
	}
	public void setstuSexName(String stuSexName) {
		this.stuSexName = stuSexName;
	}
	public String getacademyName() {
		return academyName;
	}
	public void setacademyName(String academyName) {
		this.academyName = academyName;
	}
	public String getstuGrade() {
		return stuGrade;
	}
	public void setstuGrade(String stuGrade) {
		this.stuGrade = stuGrade;
	}
	public String gettermNum() {
		return termNum;
	}
	public void settermNum(String termNum) {
		this.termNum = termNum;
	}
	public String getprojectName() {
		return projectName;
	}
	public void setprojectName(String projectName) {
		this.projectName = projectName;
	}
	public String getprojectContent() {
		return projectContent;
	}
	public void setprojectContent(String projectContent) {
		this.projectContent = projectContent;
	}
	public String getprojectStartDate() {
		return projectStartDate;
	}
	public void setprojectStartDate(String projectStartDate) {
		this.projectStartDate = projectStartDate;
	}
	public String getprojectEndtDate() {
		return projectEndtDate;
	}
	public void setprojectEndtDate(String projectEndtDate) {
		this.projectEndtDate = projectEndtDate;
	}
	public String getprojectContactPeople() {
		return projectContactPeople;
	}
	public void setprojectContactPeople(String projectContactPeople) {
		this.projectContactPeople = projectContactPeople;
	}
	public String getprojectPhonenum() {
		return projectPhonenum;
	}
	public void setprojectPhonenum(String projectPhonenum) {
		this.projectPhonenum = projectPhonenum;
	}
	public String getprojectPlatform() {
		return projectPlatform;
	}
	public void setprojectPlatform(String projectPlatform) {
		this.projectPlatform = projectPlatform;
	}
	public int getprojectState() {
		return projectState;
	}
	public void setprojectState(int projectState) {
		this.projectState = projectState;
	}
	public StuProject(int projectId, String stuNum, String stuName, int stuSex, String stuSexName,
                      String academyName, String stuGrade, String termNum, String projectName, String projectContent,
					  String projectStartDate, String projectEndtDate, String projectContactPeople, String projectPhonenum,
                      String projectPlatform, int projectState, String projectStateName) {
		super();
		this.projectId = projectId;
		this.stuNum = stuNum;
		this.stuName = stuName;
		this.stuSex = stuSex;
		this.stuSexName = stuSexName;
		this.academyName = academyName;
		this.stuGrade = stuGrade;
		this.termNum = termNum;
		this.projectName = projectName;
		this.projectContent = projectContent;
		this.projectStartDate = projectStartDate;
		this.projectEndtDate = projectEndtDate;
		this.projectContactPeople = projectContactPeople;
		this.projectPhonenum = projectPhonenum;
		this.projectPlatform = projectPlatform;
		this.projectState = projectState;
	}
	public StuProject() {
		super();
	}
	@Override
	public String toString() {
		return "StuProject [projectId=" + projectId + ", stuNum=" + stuNum + ", stuName=" + stuName + ", stuSex="
				+ stuSex + ", stuSexName=" + getstuSexName() + ", academyName=" + academyName + ", stuGrade="
				+ stuGrade + ", termNum=" + termNum + ", projectName=" + projectName + ", projectContent="
				+ projectContent + ", projectStartDate=" + projectStartDate + ", projectEndtDate="
				+ projectEndtDate + ", projectContactPeople=" + projectContactPeople + ", projectPhonenum="
				+ projectPhonenum + ", projectPlatform=" + projectPlatform + ", projectState=" + projectState
				+ "]";
	}
	
	
}
